#include <iostream>

class Test
{
public:
    Test()
    {
        std::cout<<"构造函数"<<std::endl;
    }
    ~Test()
    {
        std::cout<<"析构函数"<<std::endl;
    }
};


int main()
{
    Test *t = new Test[3];
    delete []t;

    // int *a = new int[3];
    // delete []a;
    return 0;
}